with open("id .txt", "r", encoding="utf-8") as f:
    id_list = f.readlines()
zidian = {}

for line in id_list:
    key, value = line.strip().split(",")
    zidian[key] = value

number = input("请输入身份证号: ")

if number in zidian:
    print(f"身份证号对应的住址是： {zidian[number]}")
else:
    print("未能找到对应的地址信息。")

